package cn.org.xiaosheng.handle.impl;

import cn.org.xiaosheng.handle.Enum.SupportsEnum;
import cn.org.xiaosheng.handle.InspectionSolver;
import org.springframework.stereotype.Component;

/**
 * @author XiaoSheng
 * @date 2025/3/17 下午9:13
 */
@Component
public class ReplaceOrderGoodsSolver extends InspectionSolver {
    @Override
    public void solve(Long orderId, Long userId) {
        System.out.println("订单"+orderId+"开始进行替换商品了"+SupportsEnum.THREE.lab);
    }

    @Override
    public int supports() {
        return SupportsEnum.THREE.value;
    }
}
